-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bm vy mark as purchased #25
Conversation
…w and ListItem component
Visit the preview URL for this PR (updated for commit 1fb2839): https://tcl-71-smart-shopping-list--pr25-bm-vy-mark-as-purcha-dsxq84om.web.app (expires Sat, 09 Mar 2024 18:58:35 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 1e7ade9d0f374c4ddb5d7ab6fc541062fc7a1ab4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done team! I tested with changing the purchase date in firebase and it works perfectly!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work team! your feature works seamlessly!🤯💥💥
Description
Allow users to mark items as purchased, updating
dateLastPurchased
andtotalPurchases
on the Firestore and checking off the item for 24h.Related Issue
closes #9
Acceptance Criteria
Type of Changes
Updates
Before
After
Testing Steps / QA Criteria
dateLastPurchased
andtotalPurchases
are updated, and changedateLastPurchased
of one or more items marked as purchased.TODO
A functionality that could be added further down the line is the possibility of reverting the purchased state of an item in case of user error.